package com.bilgeadam.swing.program;

import javax.swing.SwingUtilities;
import javax.swing.UIManager;
import javax.swing.UIManager.LookAndFeelInfo;
import javax.swing.UnsupportedLookAndFeelException;

import com.bilgeadam.swing.controller.ApplicationController;

/**
 *
 * @author Bora SAYINER
 * @since Dec 20, 2014 11:28:33 AM
 * @version 1.0
 */
public class Driver {

	static {
		LookAndFeelInfo[] lookAndFeels = UIManager.getInstalledLookAndFeels();
		try {
			UIManager.setLookAndFeel(lookAndFeels[3].getClassName());
		} catch (ClassNotFoundException | InstantiationException | IllegalAccessException | UnsupportedLookAndFeelException e) {
			e.printStackTrace();
		}
	}

	public static void main(String[] args) {
		ApplicationController controller = new ApplicationController();
		controller.startApplication();
	}
}
